package com.sheyu.mall.ware.feign;

import com.sheyu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author sheyu
 * @Desciption:
 * @date 2020/9/22 11:34 下午
 */
@FeignClient("order-service")
public interface OrderFeignService {

    @GetMapping(value = "order/omsorder/status/{orderSn}")
    R getOrderStatus(@PathVariable("orderSn") String orderSn);
}
